<ion-header-bar class="bar-top text-center">
    <div class="buttons">
        <nav-button class="back" ng-click="back()"></nav-button>
    </div>
    <h1 class="title">我的银行卡</h1>
    <div class="buttons" ng-click="go('card-add')">
        <div class="right big">+</div>
    </div>
</ion-header-bar>
<ion-view>
    <ion-content class="card-list">
        <div class="item-div" ng-class="{'中国银行':'bc','中国农业银行':'abc','中国工商银行':'icbc','中国建设银行':'cbc','中国交通银行':'bcm','招商银行':'cmbc'}[card.bankType]" ng-repeat="card in vm.cardList" ng-click="toFetch(card)" on-hold="delCard(card)">
            <!-- <div class="card-logo"></div> -->
            <div class="card-content">
                <div class="card-name" ng-bind="card.bankType"></div>
                <div class="card-type">借记卡</div>
                <div class="card-no">{{card.code|cardCode}}
                </div>
            </div>
        </div>

    </ion-content>
</ion-view>
